﻿@using Domain
@using WebUI.Extensions
@model EmployeeDuty
@{
	Layout = "~/Areas/Admin/Views/Shared/_AdminContent.cshtml";
}

<div class="box box-primary">
	<div class="box-header with-border">
		<h3 class="box-title">详细</h3>
	</div>
	<form>
		<div class="box-body">
			<div class="form-group">
				@Html.LabelFor(m => m.ID)
				@Html.TextBoxFor(m => m.ID, new { @class = "form-control", disabled = "disabled" })
			</div>
			<div class="form-group">
				@Html.LabelFor(m => m.Name)
				@Html.TextBoxFor(m => m.Name, new { @class = "form-control", disabled = "disabled" })
			</div>
			<div class="form-group">
				@Html.LabelFor(m => m.NormType.Name)
				@Html.TextBoxFor(m => m.NormType.Name, new { @class = "form-control", disabled = "disabled" })
			</div>
			<div class="form-group">
				<label>评价职位</label>
				<div>
					@{
						if (Model.EvaDutyList != null && Model.EvaDutyList.Count >= 1)
						{
							foreach (var item in Model.EvaDutyList)
							{
								<span class="label label-info">@item.Name</span>
							}
						}
					}
				</div>
			</div>
		</div>
		<div class="box-footer">
			<div class="btn-group">
				<a class="btn btn-default" href="javascript:history.go(-1);">返回</a>
			</div>
		</div>
	</form>
</div>
